package edu.sctu.chengongsuo.day3;

/**
 * Created by user0 on 2015/4/29.
 */
public class Day3Client {

    public static void main(String[] args) {


        TextSeven  textseven1 = new TextSeven("gschen",21,170);


        TextSeven  textseven2 = new TextSeven("ren",20,180);


        TextSeven  textseven3 = new TextSeven("zhu",21,180);


        TextSeven[] textsevesn = {textseven1,textseven2,textseven3};

        printArray(textsevesn);
    }

    private static void printArray(TextSeven[] textsevesn) {

        for (int i = 0; i < textsevesn.length; i++) {
            System.out.println(textsevesn[i].name);
            System.out.println(textsevesn[i].age);
            System.out.println(textsevesn[i].height);
        }
    }

}
